package com.api.gbhg.huangwm.utils;


/**
 * @Author Huangwm
 * @Date 2022-07-13
 * @Version 1.0
 * @Description TODO 流程类型、流程版本表名、流程名称枚举
 **/
public enum  BudgetTablesConstant {
    formtable_main_978("01","formtable_main_978","01 海关离退休人员经费调整"),
    formtable_main_977("02","formtable_main_977","02 通用项目调整"),
    formtable_main_980("03","formtable_main_980","03 物业管理费调整"),
    formtable_main_981("04","formtable_main_981","04 办公用品定额包干经费调整"),
    uf_gbhgbkdyspb("05","uf_gbhgbkdyspb","05 拱北海关报刊订阅审批表"),
    uf_gbhgbkdyspbndzd("06","uf_gbhgbkdyspbndzd","06 拱北海关报刊订阅审批表（年度增订）"),
    uf_bzbhtglwf("07","uf_bzbhtglwf","07 不占编合同工劳务费需求表"),
    uf_fyzdyzylxqbbb("08","uf_fyzdyzylxqbbb","08 复印纸、打印纸用量需求表"),
    uf_ggtsgylsdyspbbb("09","uf_ggtsgylsdyspbbb","09 公共图书馆、阅览室订阅审批表"),
    uf_jypxjf("10","uf_jypxjf","10 教育培训经费"),
    uf_hgzzxzrygzjbtjfbb("11","uf_hgzzxzrygzjbtjfbb","11 海关在职行政人员工资津补贴经费需求表"),
    uf_jczzxzrygzjtbjfbb("12","uf_jczzxzrygzjtbjfbb","12 警察在职行政人员工资津贴补贴经费需求表"),
    uf_sydwltxrygzjtbtj("13","uf_sydwltxrygzjtbtj","13 事业单位离退休人员工资津贴补贴经费需求表"),
    uf_sydwzzrygzjtbtjfbbb("14","uf_sydwzzrygzjtbtjfbbb","14 事业单位在职人员工资津贴补贴经费需求表"),
    uf_hgylbxjfjfxqb("15","uf_hgylbxjfjfxqb","15 海关养老保险缴费经费需求版本表"),
    uf_hgylbxjfjfxqbbb("16","uf_hgylbxjfjfxqbbb","16 海关医疗保险缴费经费需求版本表"),
    uf_zfggzcjfxqb("17", "uf_zfggzcjfxqb","17 住房改革支出经费需求表"),
    uf_zdyszjtjb("18","uf_zdyszjtjb","18 重大预算追加统计表"),
    uf_jdjfbz("19","uf_jdjfbz","19 机动经费编制")
    ;

    private String flowType;
    private String flowTableName;
    private String flowName;
    public String getFlowType() {
        return flowType;
    }
    public String getFlowTableName() {
        return flowTableName;
    }
    public String getFlowName() {
        return flowName;
    }

    private BudgetTablesConstant(String flowType,String flowTableName,String flowName){
        this.flowType=flowType;
        this.flowTableName=flowTableName;
        this.flowName=flowName;
    }
    public BudgetTablesConstant getEnumByValue(String flowType) {
        for (BudgetTablesConstant bt : BudgetTablesConstant.values()) {
            if (bt.flowType.equals(flowType)) {
                return bt;
            }
        }
        return null;
    }


}
